package com.huluobo.kotlinim2006a.contract.register

import com.huluobo.kotlinim2006a.base.BasePresenter

/**
 * Created by lc on 2023/2/2.
 */
class RegisterContract {
    interface Presenter : BasePresenter {
        fun register(userName: String, password: String, confirmPassword: String)
    }

    interface View {
        fun onUserNameError()
        fun onPasswordError()
        fun onConfirmPasswordError()
        fun onStartRegister()
        fun onRegisterSuccess()
        fun onRegisterFailed(message:String)
    }
}